<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<%@ taglib prefix="sjr" uri="/struts-jquery-richtext-tags"%>
<script>
	
</script>
<s:url id="urlParentMenu" action="modul/menus/jsonmap" />
<s:url id="urlStaticPage" action="modul/staticpage/jsonmap" />
<s:form id="updateForm" theme="bootstrap" cssClass="form-horizontal"
	label="Form Static Page">
	<s:hidden name="id" value="%{menus.id}"></s:hidden>
	<div class="row-fluid">
		<div class="span12">

			<s:textfield label="Menu Name" name="name" id="name"
				cssClass="input-xlarge" required="true" value="%{menus.name}"/>

			<s:textfield label="Tool Tips" name="toolTip" id="toolTip"
				cssClass="input-xlarge" required="true" value="%{menus.tooltip}"/>

			<sj:select href="%{urlParentMenu}" id="parent" name="parent"
				list="listMenus"  headerKey="0"
				 label="Parent Menu" value="%{menus.parent.id}"/>

			<sj:select href="%{urlStaticPage}" id="url" name="url"
				list="listStaticPage" headerKey="0"
				label="Static Page" value="%{menus.staticPage.id}"/>

			<s:textfield label="External Url" name="extUrl" id="extUrl"
				cssClass="input-xlarge" required="true" />

		</div>
	</div>
</s:form>
